package com.attendance;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by inuyasha on 2016/11/14.
 */
@RestController
@SpringBootApplication
//@Configuration，@EnableAutoConfiguration和@ComponentScan
@MapperScan("com.attendance.mapper")
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
